package guoanmaker.operator.business.model;


import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_operator_luckdraw_record")
public class OperatorLuckdrawRecord  extends IdEntity {
	private String   userId;//用户id
	private String   luckdrawId;//中奖规则id
	private String   luckdrawType;//奖品等级
	private String   activityId;//关联活动id
	private Date     recordTime;//中奖时间
	private String   couponsId;//优惠券id
	@Transient
	private Date  minTime;
	@Transient
	private Date  maxTime;
	@Transient
	public Date getMinTime() {
		   return minTime;
	 }
	@Transient
	public Date getMaxTime() {
		   return maxTime;
	 }
	
	
}
